package edu.wpi.cs509.ui.simulators;

import java.util.TimerTask;

import edu.wpi.cs509.ui.intfc.GameEventNotify;

public class OpponentReadyNotfiy extends TimerTask {

	private GameEventNotify gameEvent;
		
	public OpponentReadyNotfiy( GameEventNotify gameEvent ) {
		this.gameEvent = gameEvent;
	}
	
	@Override
	public void run() {
		gameEvent.notifyOpponentReady();
	}

}
